import QtQuick 2.14
import QtGraphicalEffects 1.0

Rectangle {
    width: 800;
    height: 600;
    color: "black"

    visible: true

    property int displayWidth: 600;
    property int displayHeight: 400;

    Image {
        id: bg
        source: "qrc:/image/sky.png"
        width: displayWidth
        height: displayHeight
        anchors.centerIn: parent;
        visible: true;
    }

    Rectangle {
        id: displayArea;
        width: displayWidth * 0.8;
        height: displayHeight * 0.8;
        clip: true;
        anchors.centerIn: parent;
        color: "blue"
        opacity:0.5
    }
}
